﻿<%@ Page Title="" Language="C#" MasterPageFile="~/LoggedIn.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="IRC.IRepairClouds.WebClient.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="margin: auto; width:500px;">
    <asp:Login ID="LoginControl" runat="server" DisplayRememberMe="False" 
        Width="100px">
         <TextBoxStyle Width="300px"  Height="25" Font-Size="16"/>

         <LayoutTemplate>
             <table border="0" cellpadding="1" cellspacing="0" 
                 style="border-collapse:collapse;">
                 <tr>
                     <td>
                         <table border="0" cellpadding="0" style="width:450px; margin-top: 100px; margin-bottom: 100px;">
                             <tr>
                                 <td align="right" style="font-size:14pt;" valign="top">
                                     <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:&nbsp;</asp:Label>
                                 </td>
                                 <td>
                                     <asp:TextBox ID="UserName" runat="server" Font-Size="16pt" Height="25px" 
                                         Width="300px"></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                         ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                         ToolTip="User Name is required." ValidationGroup="LoginControl">*</asp:RequiredFieldValidator>
                                 </td>
                             </tr>
                             <tr><td></td><td>&nbsp;</td></tr>
                             <tr>
                                 <td align="right" style="font-size:14pt;" valign="top">
                                     <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:&nbsp;</asp:Label>
                                 </td>
                                 <td>
                                     <asp:TextBox ID="Password" runat="server" Font-Size="16pt" Height="25px" 
                                         TextMode="Password" Width="300px"></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                         ControlToValidate="Password" ErrorMessage="Password is required." 
                                         ToolTip="Password is required." ValidationGroup="LoginControl">*</asp:RequiredFieldValidator>
                                 </td>
                             </tr>
                             <tr><td></td><td>&nbsp;</td></tr>
                             <tr>
                                 <td align="center" colspan="2" style="color:Red;">
                                     <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                 </td>
                             </tr>
                             <tr>
                                 <td align="right" colspan="2" style="Padding-right: 18px;">
                                     <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" 
                                         ValidationGroup="LoginControl" />
                                 </td>
                             </tr>
                         </table>
                     </td>
                 </tr>
             </table>
         </LayoutTemplate>

         <LabelStyle HorizontalAlign="Right" VerticalAlign="Top"  Font-Size="14"/>

    </asp:Login>
</div>    
</asp:Content>
